package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    Integer findOrderDate(Date orderDate);

    void updateNumber(OrderSetting orderSetting);

    void addOrderSetting(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map map);

    void editNumberBydate(OrderSetting orderSetting);

    OrderSetting findByOrderDate(Date orderDate);

    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);


}
